<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibDriver OV2640: interface/driver_ov2640_interface.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="doxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibDriver OV2640
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
   <div id="projectbrief">OV2640 full function driver</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('driver__ov2640__interface_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">driver_ov2640_interface.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="driver__ov2640__interface_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#ifndef DRIVER_OV2640_INTERFACE_H</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#define DRIVER_OV2640_INTERFACE_H</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="driver__ov2640_8h.html">driver_ov2640.h</a>&quot;</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span>{</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;uint8_t <a class="code" href="group__ov2640__interface__driver.html#gae1dff71a78df93259589fa98ad7b537c">ov2640_interface_sccb_init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160; </div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;uint8_t <a class="code" href="group__ov2640__interface__driver.html#ga1c34c77463e991bc0ea2559adf425e1d">ov2640_interface_sccb_deinit</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;uint8_t <a class="code" href="group__ov2640__interface__driver.html#gab03085427aaf04349c7a51babb5e43c5">ov2640_interface_sccb_read</a>(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len);</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160; </div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;uint8_t <a class="code" href="group__ov2640__interface__driver.html#gad36408c20c8f74ad5b4f1aaf41554b13">ov2640_interface_sccb_write</a>(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len);</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;uint8_t <a class="code" href="group__ov2640__interface__driver.html#ga8b14f39fe5a36b748afa13fe9b971d4c">ov2640_interface_power_down_init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160; </div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;uint8_t <a class="code" href="group__ov2640__interface__driver.html#ga224f19b8e5983d2a47f2d3e4182a9af4">ov2640_interface_power_down_deinit</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160; </div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;uint8_t <a class="code" href="group__ov2640__interface__driver.html#ga7436933ee720939b796017bd4390e78c">ov2640_interface_power_down_write</a>(uint8_t level);</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160; </div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;uint8_t <a class="code" href="group__ov2640__interface__driver.html#ga1f34882c898e1cd5b45189317c0e2968">ov2640_interface_reset_init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160; </div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;uint8_t <a class="code" href="group__ov2640__interface__driver.html#gacbe568d8325a9a1465b4eb8014237c28">ov2640_interface_reset_deinit</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160; </div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;uint8_t <a class="code" href="group__ov2640__interface__driver.html#gafe9cc9e655cc40ecbdf72b8f625c60d1">ov2640_interface_reset_write</a>(uint8_t level);</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160; </div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ov2640__interface__driver.html#ga9cae30cad8bdf4e655f3a1c4bcd3f520">ov2640_interface_delay_ms</a>(uint32_t ms);</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160; </div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ov2640__interface__driver.html#ga3cefa2f6f2c431f9d8f06c249f593119">ov2640_interface_debug_print</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keyword">const</span> fmt, ...);</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160; </div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;}</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160; </div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="adriver__ov2640_8h_html"><div class="ttname"><a href="driver__ov2640_8h.html">driver_ov2640.h</a></div><div class="ttdoc">driver ov2640 header file</div></div>
<div class="ttc" id="agroup__ov2640__interface__driver_html_ga1c34c77463e991bc0ea2559adf425e1d"><div class="ttname"><a href="group__ov2640__interface__driver.html#ga1c34c77463e991bc0ea2559adf425e1d">ov2640_interface_sccb_deinit</a></div><div class="ttdeci">uint8_t ov2640_interface_sccb_deinit(void)</div><div class="ttdoc">interface sccb bus deinit</div><div class="ttdef"><b>Definition:</b> <a href="driver__ov2640__interface__template_8c_source.html#l00058">driver_ov2640_interface_template.c:58</a></div></div>
<div class="ttc" id="agroup__ov2640__interface__driver_html_ga1f34882c898e1cd5b45189317c0e2968"><div class="ttname"><a href="group__ov2640__interface__driver.html#ga1f34882c898e1cd5b45189317c0e2968">ov2640_interface_reset_init</a></div><div class="ttdeci">uint8_t ov2640_interface_reset_init(void)</div><div class="ttdoc">interface reset init</div><div class="ttdef"><b>Definition:</b> <a href="driver__ov2640__interface__template_8c_source.html#l00139">driver_ov2640_interface_template.c:139</a></div></div>
<div class="ttc" id="agroup__ov2640__interface__driver_html_ga224f19b8e5983d2a47f2d3e4182a9af4"><div class="ttname"><a href="group__ov2640__interface__driver.html#ga224f19b8e5983d2a47f2d3e4182a9af4">ov2640_interface_power_down_deinit</a></div><div class="ttdeci">uint8_t ov2640_interface_power_down_deinit(void)</div><div class="ttdoc">interface power down deinit</div><div class="ttdef"><b>Definition:</b> <a href="driver__ov2640__interface__template_8c_source.html#l00114">driver_ov2640_interface_template.c:114</a></div></div>
<div class="ttc" id="agroup__ov2640__interface__driver_html_ga3cefa2f6f2c431f9d8f06c249f593119"><div class="ttname"><a href="group__ov2640__interface__driver.html#ga3cefa2f6f2c431f9d8f06c249f593119">ov2640_interface_debug_print</a></div><div class="ttdeci">void ov2640_interface_debug_print(const char *const fmt,...)</div><div class="ttdoc">interface print format data</div><div class="ttdef"><b>Definition:</b> <a href="driver__ov2640__interface__template_8c_source.html#l00184">driver_ov2640_interface_template.c:184</a></div></div>
<div class="ttc" id="agroup__ov2640__interface__driver_html_ga7436933ee720939b796017bd4390e78c"><div class="ttname"><a href="group__ov2640__interface__driver.html#ga7436933ee720939b796017bd4390e78c">ov2640_interface_power_down_write</a></div><div class="ttdeci">uint8_t ov2640_interface_power_down_write(uint8_t level)</div><div class="ttdoc">interface power down write</div><div class="ttdef"><b>Definition:</b> <a href="driver__ov2640__interface__template_8c_source.html#l00127">driver_ov2640_interface_template.c:127</a></div></div>
<div class="ttc" id="agroup__ov2640__interface__driver_html_ga8b14f39fe5a36b748afa13fe9b971d4c"><div class="ttname"><a href="group__ov2640__interface__driver.html#ga8b14f39fe5a36b748afa13fe9b971d4c">ov2640_interface_power_down_init</a></div><div class="ttdeci">uint8_t ov2640_interface_power_down_init(void)</div><div class="ttdoc">interface power down init</div><div class="ttdef"><b>Definition:</b> <a href="driver__ov2640__interface__template_8c_source.html#l00102">driver_ov2640_interface_template.c:102</a></div></div>
<div class="ttc" id="agroup__ov2640__interface__driver_html_ga9cae30cad8bdf4e655f3a1c4bcd3f520"><div class="ttname"><a href="group__ov2640__interface__driver.html#ga9cae30cad8bdf4e655f3a1c4bcd3f520">ov2640_interface_delay_ms</a></div><div class="ttdeci">void ov2640_interface_delay_ms(uint32_t ms)</div><div class="ttdoc">interface delay ms</div><div class="ttdef"><b>Definition:</b> <a href="driver__ov2640__interface__template_8c_source.html#l00174">driver_ov2640_interface_template.c:174</a></div></div>
<div class="ttc" id="agroup__ov2640__interface__driver_html_gab03085427aaf04349c7a51babb5e43c5"><div class="ttname"><a href="group__ov2640__interface__driver.html#gab03085427aaf04349c7a51babb5e43c5">ov2640_interface_sccb_read</a></div><div class="ttdeci">uint8_t ov2640_interface_sccb_read(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)</div><div class="ttdoc">interface sccb bus read</div><div class="ttdef"><b>Definition:</b> <a href="driver__ov2640__interface__template_8c_source.html#l00074">driver_ov2640_interface_template.c:74</a></div></div>
<div class="ttc" id="agroup__ov2640__interface__driver_html_gacbe568d8325a9a1465b4eb8014237c28"><div class="ttname"><a href="group__ov2640__interface__driver.html#gacbe568d8325a9a1465b4eb8014237c28">ov2640_interface_reset_deinit</a></div><div class="ttdeci">uint8_t ov2640_interface_reset_deinit(void)</div><div class="ttdoc">interface reset deinit</div><div class="ttdef"><b>Definition:</b> <a href="driver__ov2640__interface__template_8c_source.html#l00151">driver_ov2640_interface_template.c:151</a></div></div>
<div class="ttc" id="agroup__ov2640__interface__driver_html_gad36408c20c8f74ad5b4f1aaf41554b13"><div class="ttname"><a href="group__ov2640__interface__driver.html#gad36408c20c8f74ad5b4f1aaf41554b13">ov2640_interface_sccb_write</a></div><div class="ttdeci">uint8_t ov2640_interface_sccb_write(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)</div><div class="ttdoc">interface sccb bus write</div><div class="ttdef"><b>Definition:</b> <a href="driver__ov2640__interface__template_8c_source.html#l00090">driver_ov2640_interface_template.c:90</a></div></div>
<div class="ttc" id="agroup__ov2640__interface__driver_html_gae1dff71a78df93259589fa98ad7b537c"><div class="ttname"><a href="group__ov2640__interface__driver.html#gae1dff71a78df93259589fa98ad7b537c">ov2640_interface_sccb_init</a></div><div class="ttdeci">uint8_t ov2640_interface_sccb_init(void)</div><div class="ttdoc">interface sccb bus init</div><div class="ttdef"><b>Definition:</b> <a href="driver__ov2640__interface__template_8c_source.html#l00046">driver_ov2640_interface_template.c:46</a></div></div>
<div class="ttc" id="agroup__ov2640__interface__driver_html_gafe9cc9e655cc40ecbdf72b8f625c60d1"><div class="ttname"><a href="group__ov2640__interface__driver.html#gafe9cc9e655cc40ecbdf72b8f625c60d1">ov2640_interface_reset_write</a></div><div class="ttdeci">uint8_t ov2640_interface_reset_write(uint8_t level)</div><div class="ttdoc">interface reset write</div><div class="ttdef"><b>Definition:</b> <a href="driver__ov2640__interface__template_8c_source.html#l00164">driver_ov2640_interface_template.c:164</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_b31d54d5631803016a26f28213a41162.html">interface</a></li><li class="navelem"><a class="el" href="driver__ov2640__interface_8h.html">driver_ov2640_interface.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
